<div class="modal-header">
    <span translate>选择价格方案</span>
    <i class="yb-icon ico-close" ng-click="cancel()"></i>
</div>
<div class="modal-body">
    <div class="pos-r" style="height: 380px;">
        <div yb-table-fixed class="table-fixed-wrap">
            <div class="th-scroll-x">
                <table class="table border-none" width="{{editTbConf.scrollWidth}}">
                    <thead>
                        <tr ng-if="!isBatchSetting">
                            <th width="30%"><span translate>价格方案</span></th>
                            <th width="30%"><span translate>方案类型</span></th>
                            <th width="20%" ng-if="!hideModeRate"><span translate>固定折扣</span></th>
                            <th width="20%"><span translate>指定价格</span></th>
                            <th width="80"><span translate>操作</span></th>
                        </tr>
                        <tr ng-if="!!isBatchSetting">
                            <th width="80%"><span translate>价格方案</span></th>
                            <th width="80"><span translate>操作</span></th>
                        </tr>
                    </thead>
                </table>
            </div>
            <div class="td-scroll" ng-show="dataList.length > 0">
                <table class="table border-none">
                    <tbody>
                        <tr ng-if="!isBatchSetting" ng-repeat="item in dataList track by $index">
                            <td width="30%" class="spill-dots" title="{{item.name}}">{{item.name}}</td>
                            <td width="30%" class="spill-dots" title="{{item.modeType}}">{{item.modeType | TrueOrFalse:"priceScheme"}}</td>
                            <td width="20%" class="spill-dots" title="{{item.modeRate}}" ng-if="!hideModeRate">{{item.modeRate}}</td>
                            <td width="20%" class="spill-dots" title="{{item.price}}">{{item.price}}</td>
                            <td width="80">
                                <button class="btn btn-operate" ng-disabled="selDisabled" ng-click="ok($index)"><span translate>选择</span></button>
                            </td>
                        </tr>
                        <tr ng-if="!!isBatchSetting" ng-repeat="item in dataList track by $index">
                            <td width="80%" class="spill-dots" title="{{item.name}}">{{item.name}}</td>
                            <td width="80">
                                <button class="btn btn-operate" ng-disabled="selDisabled" ng-click="ok($index)"><span translate>选择</span></button>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
            <div class="no-data w-full text-center p-t" ng-show="dataList.length === 0" translate>暂时没有数据</div>
        </div>
    </div>
</div>